package com.liushuang.dao;

import com.liushuang.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author liushuang
 * @create 2020-10-03-19:32
 * description:
 */
public interface UserRepository extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username, String password);
}
